#ifndef _SWAP_H
#define _SWAP_H

#include<iostream>
#include<string>

using namespace std;

class Swap
{
public:
    Swap(int a, int b)
    {
        std::cout<<"swap类构造函数实现"<<std::endl;
        this->_a = a;
        this->_b = b;
    }
    ~Swap()
    {
        std::cout<<"swap类析构函数实现"<<std::endl;
    }
    void swap();
    void print();
private:
    int temp;
    int _a,_b;

};

#endif